package olga.gorbatiuk.perdep.dao.daofactory.impl;

import olga.gorbatiuk.perdep.dao.DAOFactory;
import olga.gorbatiuk.perdep.dao.concretedao.CustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.DepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.EmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.PositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.ProjectDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.file.FileCustomerDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.file.FileDepartmentDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.file.FileEmployeeDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.file.FilePositionDAO;
import olga.gorbatiuk.perdep.dao.concretedao.impl.file.FileProjectDAO;

/**
 *
 * @author Olga Gorbatiuk
 */
public class FileDAOFactory extends DAOFactory {

    public FileDAOFactory() {
    }

    @Override
    public CustomerDAO getCustomerDAO() {
        return new FileCustomerDAO();
    }

    @Override
    public ProjectDAO getProjectDAO() {
        return new FileProjectDAO();
    }

    @Override
    public EmployeeDAO getEmployeeDAO() {
        return new FileEmployeeDAO();
    }

    @Override
    public PositionDAO getPositionDAO() {
        return new FilePositionDAO();
    }

    @Override
    public DepartmentDAO getDepartmentDAO() {
        return new FileDepartmentDAO();
    }

}
